import ajax from '@/api/apiConfig.js'

/* 获取组织部门树结构 */
export const getDepartmentTree = (data) => {
  return ajax.get('department/getDepartmentTree', data)
}

/* 获取组织部门树(包含人员) */
export const getDepartmentTreeAndAllUser = (data) => {
  return ajax.get('department/getDepartmentTreeAndAllUser', data)
}

